from misaka.BaseConfig import OneesamaBaseConfig, SisterBaseConfig


class OneesamaConfig(OneesamaBaseConfig):
    def __init__(self):
        super().__init__()
        self.logcat = "console"
        self.sisters = [
            {
                "ip": "2.0.0.1",
                "name": "从服务器1"
            },
            {
                "ip": "2.0.0.1",
                "name": "从服务器2",
                "port": 19092
            }
        ]
        self.port = 'oneedef'


class SisterConfig(SisterBaseConfig):
    def __init__(self):
        super().__init__()
        self.logcat = "console"
        self.port = 'sisdef'
        self.upd_cli = 2011


class SisterConfig2(SisterBaseConfig):
    def __init__(self):
        super().__init__()

        self.logcat = "console"
        self.port = 19092
        self.upd_cli = 2012
